package com.lsy.weizhi2.JsonObject;

import java.util.List;

/**
 * Created by 嗨哟 on 2017/5/5.
 */

public class MyCollectNote {

    /**
     * result : true
     * message :
     * error :
     * pageNo : 1
     * pageSize : 20
     * totalPages : 1
     * count : 1
     * totalElements : 1
     * list : [{"createTime":"2017-05-05 10:07:21","updateTime":"2017-05-05 10:07:21","createUserId":7,"createUsername":"wz14939456859977235","updateUserId":7,"updateUsername":"wz14939456859977235","id":5,"userId":7,"order":{"id":4,"firstCategoryId":1,"secondCategoryId":2,"type":0,"title":"游戏组队","content":"多塔","photo":"","price":200,"priceMethod":1,"phoneType":1,"phoneReward":null,"city":"武汉市","isNear":1,"latitude":30.4596582,"longitude":114.3822968,"clickCount":0,"replyCount":2,"dealCount":0,"status":0,"orderLevel":0,"createTime":"2017-05-03 21:25:49","updateTime":"2017-05-04 19:53:47","createUserId":5,"createUsername":"WH","updateUserId":2,"updateUsername":"wz2","realName":"WH","avatar":8}}]
     */

    private boolean result;
    private String message;
    private String error;
    private int pageNo;
    private int pageSize;
    private int totalPages;
    private int count;
    private int totalElements;
    private List<ListBean> list;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getTotalElements() {
        return totalElements;
    }

    public void setTotalElements(int totalElements) {
        this.totalElements = totalElements;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * createTime : 2017-05-05 10:07:21
         * updateTime : 2017-05-05 10:07:21
         * createUserId : 7
         * createUsername : wz14939456859977235
         * updateUserId : 7
         * updateUsername : wz14939456859977235
         * id : 5
         * userId : 7
         * order : {"id":4,"firstCategoryId":1,"secondCategoryId":2,"type":0,"title":"游戏组队","content":"多塔","photo":"","price":200,"priceMethod":1,"phoneType":1,"phoneReward":null,"city":"武汉市","isNear":1,"latitude":30.4596582,"longitude":114.3822968,"clickCount":0,"replyCount":2,"dealCount":0,"status":0,"orderLevel":0,"createTime":"2017-05-03 21:25:49","updateTime":"2017-05-04 19:53:47","createUserId":5,"createUsername":"WH","updateUserId":2,"updateUsername":"wz2","realName":"WH","avatar":8}
         */

        private String createTime;
        private String updateTime;
        private int createUserId;
        private String createUsername;
        private int updateUserId;
        private String updateUsername;
        private int id;
        private int userId;
        private OrderBean order;

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getCreateUserId() {
            return createUserId;
        }

        public void setCreateUserId(int createUserId) {
            this.createUserId = createUserId;
        }

        public String getCreateUsername() {
            return createUsername;
        }

        public void setCreateUsername(String createUsername) {
            this.createUsername = createUsername;
        }

        public int getUpdateUserId() {
            return updateUserId;
        }

        public void setUpdateUserId(int updateUserId) {
            this.updateUserId = updateUserId;
        }

        public String getUpdateUsername() {
            return updateUsername;
        }

        public void setUpdateUsername(String updateUsername) {
            this.updateUsername = updateUsername;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public OrderBean getOrder() {
            return order;
        }

        public void setOrder(OrderBean order) {
            this.order = order;
        }

        public static class OrderBean {
            /**
             * id : 4
             * firstCategoryId : 1
             * secondCategoryId : 2
             * type : 0
             * title : 游戏组队
             * content : 多塔
             * photo :
             * price : 200
             * priceMethod : 1
             * phoneType : 1
             * phoneReward : null
             * city : 武汉市
             * isNear : 1
             * latitude : 30.4596582
             * longitude : 114.3822968
             * clickCount : 0
             * replyCount : 2
             * dealCount : 0
             * status : 0
             * orderLevel : 0
             * createTime : 2017-05-03 21:25:49
             * updateTime : 2017-05-04 19:53:47
             * createUserId : 5
             * createUsername : WH
             * updateUserId : 2
             * updateUsername : wz2
             * realName : WH
             * avatar : 8
             */

            private int id;
            private int firstCategoryId;
            private int secondCategoryId;
            private int type;
            private String title;
            private String content;
            private String photo;
            private int price;
            private int priceMethod;
            private int phoneType;
            private Object phoneReward;
            private String city;
            private int isNear;
            private double latitude;
            private double longitude;
            private int clickCount;
            private int replyCount;
            private int dealCount;
            private int status;
            private int orderLevel;
            private String createTime;
            private String updateTime;
            private int createUserId;
            private String createUsername;
            private int updateUserId;
            private String updateUsername;
            private String realName;
            private int avatar;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getFirstCategoryId() {
                return firstCategoryId;
            }

            public void setFirstCategoryId(int firstCategoryId) {
                this.firstCategoryId = firstCategoryId;
            }

            public int getSecondCategoryId() {
                return secondCategoryId;
            }

            public void setSecondCategoryId(int secondCategoryId) {
                this.secondCategoryId = secondCategoryId;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public int getPrice() {
                return price;
            }

            public void setPrice(int price) {
                this.price = price;
            }

            public int getPriceMethod() {
                return priceMethod;
            }

            public void setPriceMethod(int priceMethod) {
                this.priceMethod = priceMethod;
            }

            public int getPhoneType() {
                return phoneType;
            }

            public void setPhoneType(int phoneType) {
                this.phoneType = phoneType;
            }

            public Object getPhoneReward() {
                return phoneReward;
            }

            public void setPhoneReward(Object phoneReward) {
                this.phoneReward = phoneReward;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public int getIsNear() {
                return isNear;
            }

            public void setIsNear(int isNear) {
                this.isNear = isNear;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public int getClickCount() {
                return clickCount;
            }

            public void setClickCount(int clickCount) {
                this.clickCount = clickCount;
            }

            public int getReplyCount() {
                return replyCount;
            }

            public void setReplyCount(int replyCount) {
                this.replyCount = replyCount;
            }

            public int getDealCount() {
                return dealCount;
            }

            public void setDealCount(int dealCount) {
                this.dealCount = dealCount;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getOrderLevel() {
                return orderLevel;
            }

            public void setOrderLevel(int orderLevel) {
                this.orderLevel = orderLevel;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public int getCreateUserId() {
                return createUserId;
            }

            public void setCreateUserId(int createUserId) {
                this.createUserId = createUserId;
            }

            public String getCreateUsername() {
                return createUsername;
            }

            public void setCreateUsername(String createUsername) {
                this.createUsername = createUsername;
            }

            public int getUpdateUserId() {
                return updateUserId;
            }

            public void setUpdateUserId(int updateUserId) {
                this.updateUserId = updateUserId;
            }

            public String getUpdateUsername() {
                return updateUsername;
            }

            public void setUpdateUsername(String updateUsername) {
                this.updateUsername = updateUsername;
            }

            public String getRealName() {
                return realName;
            }

            public void setRealName(String realName) {
                this.realName = realName;
            }

            public int getAvatar() {
                return avatar;
            }

            public void setAvatar(int avatar) {
                this.avatar = avatar;
            }
        }
    }
}
